/*
  DuinolabDoubleBlink
  Extend the DuinolabBlink example to use a second LED
  
  This example code is based on the Arduino Blink example.
 */

#include <Duinolab.h>
#include <Wire.h>      // need to get rid of this - Arduino IDE is too clever...

void setup() {
  // Initialize the Duinolab
  Duinolab.Init();
  
  // Connect LED 0 and 1 from the Duinolab  
  Duinolab.ConnectToArduino(LED_YELLOW);
  Duinolab.ConnectToArduino(LED_AMBER);
}

void loop() {
  Duinolab.LEDOn(LED_YELLOW);   // set the LED on
  Duinolab.LEDOff(LED_AMBER); 
  delay(1000);              // wait for a second
  Duinolab.LEDOff(LED_YELLOW);  // set the LED off
  Duinolab.LEDOn(LED_AMBER); 
  delay(1000);              // wait for a second
}
